<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*,java.time.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
	<style>
	  body{font-family: 微软雅黑;font-size:12px;overflow:hidden}
	</style>
	<script type="text/javascript" src="/js/jquery-1.8.3.js"></script>
	<script>

	   setInterval("refreshSession()", 60*1000*10);  //每10分钟
		
		//刷新时间,刷session 防止网页过期
		function refreshSession()
		{
			$.ajax({
				url:"admin/refresh",
				cache:false
			});
		}
		

	</script>
</head>
<body>
 	<img src="/images/logo.png"  width="90px">   
 	 <%
 		out.print(LocalDate.now());
 	  %>
 	 
 	 &nbsp; &nbsp;  当前用户:  ${g_admin.adminName} 
	 
 	  <a href="/admin/logout" onclick="return confirm('确定要退出系统吗')"><img src="/images/logout.png" style="float:right" title="退出系统"></a>
</body>
</html>